﻿using National.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace National.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Shops_Index()
        {
            return View();
        }
        //[PermSsionAttvihte]
        public ActionResult Index()
        {
            #region MyRegion
            //HttpCookie cook = System.Web.HttpContext.Current.Request.Cookies.Get("Admin");
            //if (cook != null)
            //{
            //    if (cook["name"] != null && cook["pwd"] != null && cook["time"] != null)
            //    {
            //        String name = cook.Values.Get("name");
            //        String pwd = cook.Values.Get("pwd");
            //        DateTime b = Convert.ToDateTime(cook.Values.Get("time"));
            //        if (DateTime.Now < b)
            //        {
            //            Users.ent.admin02 = new National.Model.User()
            //            {
            //                UserName = name,
            //                Pwd = pwd
            //            };
            //            ViewBag.adminName = name;
            //            ViewBag.adminPwd = pwd;
            //        }
            //    }
            //}
            #endregion

            return View();
        }
        public ActionResult Add_Product()
        {
            return View();
        }

        public ActionResult Brand_Manage()
        {
            return View();
        }
        public ActionResult Member_List()
        {
            return View();
        }

        public ActionResult Order()
        {
            return View();
        }
        public ActionResult Order_Form()
        {
            return View();
        }

        public ActionResult Products()
        {
            return View();
        }

        public ActionResult Login()
        {
            return View();
        }
    }
}